package dbLayer;

import java.util.ArrayList;

import modelLayer.*;

public interface IFDBInvoice {

	public ArrayList<Invoice> getAllInvoice(boolean retriveAssociation);
	public Invoice findInvoice(int id, boolean retriveAssociation);
	public Invoice searchInvoiceOnName(String name, boolean retriveAssociation);
	
	public int insert(Invoice invoice) throws Exception;
	public int update(Invoice invoice);
	public int delete(int id);
}
